projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5300fd3
)
(status_notify): Update p->tick again
author
Richard M. Stallman
<rms@gnu.org>
Sat, 26 Oct 1996 16:01:03 +0000
(16:01 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 26 Oct 1996 16:01:03 +0000
(16:01 +0000)
just before running the sentinel, in case it dies.
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index 8880b8c9ca452038dd5808a09fef6b8d1a4f6200..296f8606ea4a2ee94da6890da511da29dee5aa97 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-3614,6
+3614,11
@@
status_notify ()
deactivate_process (proc);
}
+ /* The actions above may have further incremented p->tick.
+ So set p->update_tick again
+ so that an error in the sentinel will not cause
+ this code to be run again. */
+ XSETINT (p->update_tick, XINT (p->tick));
/* Now output the message suitably. */
if (!NILP (p->sentinel))
exec_sentinel (proc, msg);